package com.cy.kind;
public class Test {
    public static void main(String[] args) {
        Student stu = new Student("小明", 18, '男', 1001, "23物联网2班");
        System.out.println("姓名: " + stu.name + " 年龄: " + stu.age + " 性别: " + stu.sex + " 学号: " + stu.num + " 班级: " + stu.clas);
        stu.study();
    }
}

